<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="./Home/Tpl/Admin/Common/cssjs.html" />
</head>
<body>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<div class="subnav">
<div class="content-menu ib-a blue line-x"><a class="add fb" href="{:U("Comments/Field/add")}"><em>添加自定义字段</em></a>
　<a class="on" href="{:U("Comments/Field/index")}"><em>字段列表</em></a>
</div></div>
<div class="pad-lr-10">
  <div class="table-list">
    <table width="100%" cellspacing="0" >
      <thead>
        <tr>
          <th width="70">ID</th>
          <th>字段名称</th>
          <th width="80">存储表</th>
          <th width="100">字段标识</th>
          <th width="100">字段类型</th>
          <th width="100">是否必填</th>
          <th width="100">操作</th>
        </tr>
      </thead>
      <tbody class="td-line">
      <volist name="data" id="vo">
        <tr>
          <td align='center'>{$vo.fid}</td>
          <td>{$vo.f}</td>
          <td align='center'><?php echo $vo['issystem']==0?"副表":"主表";?></td>
          <td align='center'>{$vo.fname}</td>
          <td align='center'>{$vo.ftype}</td>
          <td align='center'><?php echo $vo['ismust']==0?"否":"是";?></td>
          <td align='center'><a href="{:U("Comments/Field/edit",array("fid"=>$vo['fid']))}" >修改</a> | <a href="javascript:confirmurl('{:U("Comments/Field/delete",array("fid"=>$vo['fid']))}','确认要删除吗？')" >删除</a></td>
        </tr>
       </volist>
      </tbody>
    </table>
  </div>
</div>
</body>
</html>